package cn.itheima.mapper;

import cn.itheima.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    List<User> findAll();

    List<User> pageQuery(@Param("startIndex") int startIndex, @Param("pageSize") Integer pageSize);

    long findTotalCounts();
}
